//
//  Knob.h
//  SKPAD
//
//  Created by admin@amonline.com.cn on 15/5/8.
//  Copyright (c) 2015年 何睿. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface Knob : UIControl

//背景图片
@property (nonatomic, strong) UIImageView *knobView;
//背景图层
@property (nonatomic, strong) CALayer *trackLayerKnob;

@property (nonatomic, assign) CGFloat startAngle;

@property (nonatomic, assign) CGFloat endAngle;

@property (nonatomic, assign) CGFloat knobPointerAngle;

-(void)updateWithPosition:(CGRect)bounds;

-(void) setKnobPointerAngle:(CGFloat)knobPointerAngle animated:(BOOL) animated;

@end